﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RMALinkDetail.aspx.cs" Inherits="WXYW.RMALinkDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    查看RMA详细信息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div class="buttonHeader" align="right" id="backRegion">
        <img src="image/operateicon/back_back.gif" alt="" />
        <asp:LinkButton ID="backLinkButton" runat="server" OnClick="backLinkButton_Click">返回</asp:LinkButton>
        &nbsp;&nbsp;
    </div>
    <table style="width: 98%">
        <tr>
            <td colspan="4" align="center" style="height: 40px">
                <h4>
                    <b>RMA详细信息</b>
                </h4>
            </td>
        </tr>
        <tr>
            <td>
                RMA 编号：
            </td>
            <td>
                <asp:Label ID="rmaLabel" runat="server" Text="" Width="120"></asp:Label>
            </td>
            <td>
                &nbsp
            </td>
            <td>
                <asp:Label ID="runningNumberLabel" runat="server" Text="" Visible="false"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                收货日期：
            </td>
            <td colspan="3">
                <asp:Label ID="receiveLabel" runat="server" Text="" Width="120"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30">
            <td style="width: 14%">
                申请公司名称：
            </td>
            <td style="width: 38%">
                <asp:Label ID="applyCompanyNameTxtBox" runat="server" Width="100"></asp:Label>
            </td>
            <td>
                <%-- 购买代理商：--%>
            </td>
            <td style="width: 32%">
                <%-- <asp:DropDownList runat="server" ID="sourceDropdownList">
                </asp:DropDownList>--%>
            </td>
        </tr>
        <tr style="height: 30">
            <td>
                详细通讯地址：
            </td>
            <td>
                <asp:Label ID="mailAddressTxtBox" Width="100%" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <%-- 申请人手机：--%>
            </td>
            <td>
                <%--<asp:Label ID="applierMobilePhoneTxtBox" Width="100%" runat="server" Text="Label"></asp:Label>--%>
            </td>
        </tr>
        <tr style="height: 30">
            <td>
                电话：
            </td>
            <td>
                <asp:Label ID="applierPhoneTxtBox" runat="server" Text="" Width="100%"></asp:Label>
            </td>
            <td>
                传真：
            </td>
            <td>
                <asp:Label ID="applierFaxTxtBox" runat="server" Text="" Width="100%"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30">
            <td>
                申请人姓名：
            </td>
            <td>
                <asp:Label ID="applierNameTxtBox" runat="server" Text=""></asp:Label>
            </td>
            <td>
                电子邮箱：
            </td>
            <td>
                <asp:Label ID="applierEmailTxtBox" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    <div align="center">
        <p>
        </p>
        <asp:GridView ID="productGridView" CssClass="tableList" BorderColor="#888888" BorderWidth="1px"
            runat="server" AutoGenerateColumns="false"
            DataKeyNames="ApplicationProductID" Width="100%">
            <Columns>
                <asp:TemplateField HeaderText="故障产品型号">
                    <ItemTemplate>
                        <%#Eval("ProductType.ProductTypeName")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HeaderText="序列号" DataField="ProductSerialNumber" />
                <asp:TemplateField HeaderText="故障类型">
                    <ItemTemplate>
                        <%#Eval("ProblemType.Name")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HeaderText="故障现象描述" DataField="ProductProblemDescription" />
                <asp:BoundField HeaderText="产品外观及附件" DataField="ProductAppearance" />
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <asp:LinkButton ID="viewLinkButton" runat="server" OnClick="viewLinkButton_Click"
                            CommandArgument='<%#Eval("ApplicationProductID") %>'>查看</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
